from flask import Flask,render_template,request,escape

app=Flask(__name__)

@app.route('/')
def hello() -> "html":
	return render_template("home.html",the_title="欢迎进入我的网站~")

@app.route('/home')
def hello_home() -> "html":
	return render_template("home.html",the_title="欢迎回到我的网站~")

@app.route('/login',methods=["GET"])
def hello_login():
	return render_template("login.html",the_title="欢迎进入登录界面~")

@app.route('/chenggongdenglu', methods=["POST"])
def hello_chenggongdenglu():
		return render_template("chenggongdenglu.html", the_title="恭喜您已经登录成功！")

@app.route('/register',methods=["GET"])
def hello_register():
	return render_template("register.html",the_title="欢迎进入注册界面~")

@app.route('/chenggongzhuce', methods=["POST"])
def hello_chenggongzhuce():
		return render_template("chenggongzhuce.html", the_title="恭喜您已经注册成功！")


if __name__=='__main__':
    app.run(debug=True)